package gui.pannelInscription;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;

public class EndInscriptionButton extends JButton implements ActionListener{


	private static final long serialVersionUID = 3281417593178316126L;
	private ThrowGame tg;
	
	public EndInscriptionButton(ThrowGame f){
		super("Fin des Inscriptions");
		addActionListener(this);
		tg=f;
	}


	public void actionPerformed(ActionEvent e) {
		tg.endInscription();
		
	}


	
}
